using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;

using SharpCore.Data;

namespace TF.Access {
	public partial class TF_TripParam {
        /// <summary>
        /// Selects a single record from the TF_TripParam table.
        /// </summary>
        public static List<TF_TripParam> SelectByType(string type)
        {
            using (SqlDataReader dataReader = SqlClientUtility.ExecuteReader("TF_TripParamSelectByType", type))
            {
                List<TF_TripParam> tF_TripParamList = new List<TF_TripParam>();
                while (dataReader.Read())
                {
                    TF_TripParam tF_TripParam = MakeTF_TripParam(dataReader);
                    tF_TripParamList.Add(tF_TripParam);
                }
                return tF_TripParamList;
            }
        }
	}
}
